cc.Class({
    extends: cc.Component,

    properties: {},


    // onLoad () {},
    onEnable() {
        var that=this;
        this.node.runAction(
            cc.sequence(
                cc.fadeOut(0.5),
                cc.callFunc(function () {
                    that.active=false
                }),
                cc.fadeIn(0.5)
            )
        )
    },
    start() {

    },

    // update (dt) {},
});
